package com.requiem.hist_group_manage_springboot.service;

import com.requiem.hist_group_manage_springboot.exception.R;
import com.requiem.hist_group_manage_springboot.model.EvaluationModel;
import com.requiem.hist_group_manage_springboot.model.TeacherModel;

public interface TeacherService {

    R getList();

    R getByID();

    R getLog();

    R add(TeacherModel teacherModel);

    R delete();

    R edit(TeacherModel teacherModel);

    R joinGroup(int teacherId, String groupID);

    R exitGroup(int teacherId, String groupID);

    R SearchList(TeacherModel teacherModel);

    /*
     *评论功能
     */
    R getStudent(String groupId);

    R getEvaluation(int teacherId);

    R addEvaluation(EvaluationModel evaluationModel);

    R resetPassword(int id, String password);

}
